/*
 *  Copyright (c) Skrumtious
 */
package com.skrumtious.action;

/**
 * Response from a {@link WebAction}
 * 
 * @author Tony
 *
 */
public class WebResponse {

	/**
	 * Redirect
	 */
	private boolean isRedirect;
	
	/**
	 * Forward
	 */
	private boolean isForward;
	
	/**
	 * File name
	 */
	private String fileName;
		
	
	/**
	 * @param isRedirect
	 * @param isForward
	 * @param fileName
	 */
	public WebResponse(boolean isRedirect, boolean isForward, String fileName) {
		super();
		this.isRedirect = isRedirect;
		this.isForward = isForward;
		this.fileName = fileName;
	}

	/**
	 * @return the fileName
	 */
	public String getFileName() {
		return fileName;
	}
	
	/**
	 * @return the isForward
	 */
	public boolean isForward() {
		return isForward;
	}
	
	/**
	 * @return the isRedirect
	 */
	public boolean isRedirect() {
		return isRedirect;
	}
}
